﻿
/*
=============================================================================
CreatedTime:2011-10-28
Description:Tb_Info三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class Tb_Info
	{
		
		//不带数的构造方法
		public Tb_Info()
		{
			
		}
		//带参构造方法
		public Tb_Info(int _infoid ,int _catID ,string _title ,string _detail ,string _showimg ,DateTime _datetimeadd ,int _isshow ,int _istj ,string _keyword ,string _description ,int _iscomment ,string _username)
		{
			this._infoid=_infoid;

			this._catID=_catID;

			this._title=_title;

			this._detail=_detail;

			this._showimg=_showimg;

			this._datetimeadd=_datetimeadd;

			this._isshow=_isshow;

			this._istj=_istj;

			this._keyword=_keyword;

			this._description=_description;

			this._iscomment=_iscomment;

			this._username=_username;

		}
		#region Tb_Info Filed
		private int _infoid;
		public int Infoid
		{
		get { return _infoid; }
		set { this._infoid = value; }
		}
		
		private  int _catID;
		public int CatID
		{
			get { return this._catID;}
			set { this._catID = value; }
		}

		private  string _title=String.Empty;
		public string Title
		{
			get { return this._title;}
			set { this._title = value; }
		}

		private  string _detail=String.Empty;
		public string Detail
		{
			get { return this._detail;}
			set { this._detail = value; }
		}

		private  string _showimg=String.Empty;
		public string Showimg
		{
			get { return this._showimg;}
			set { this._showimg = value; }
		}

		private  DateTime _datetimeadd;
		public DateTime Datetimeadd
		{
			get { return this._datetimeadd;}
			set { this._datetimeadd = value; }
		}

		private  int _isshow;
		public int Isshow
		{
			get { return this._isshow;}
			set { this._isshow = value; }
		}

		private  int _istj;
		public int Istj
		{
			get { return this._istj;}
			set { this._istj = value; }
		}

		private  string _keyword=String.Empty;
		public string Keyword
		{
			get { return this._keyword;}
			set { this._keyword = value; }
		}

		private  string _description=String.Empty;
		public string Description
		{
			get { return this._description;}
			set { this._description = value; }
		}

		private  int _iscomment;
		public int Iscomment
		{
			get { return this._iscomment;}
			set { this._iscomment = value; }
		}

		private  string _username=String.Empty;
		public string Username
		{
			get { return this._username;}
			set { this._username = value; }
		}
		#endregion
	}
}

